	.arch armv8-a
	.arch_extension crc
	.arm
	.data
	.global k
	.align 4
	.size k, 4
k:
	.word 0
	.text
	.global main
	.type main , %function
main:
	push {r4, r5, r6, r9, r10, fp, lr}
	mov fp, sp
	sub sp, sp, #16
.L31:
	ldr r10, =3389
	ldr r9, addr_k0
	str r10, [r9]
	ldr r4, addr_k0
	ldr r5, [r4]
	cmp r5, #0
	ldr r4, =10000
	cmp r5, r4
	movlt r4, #1
	movgt r4, #0
	blt .L32
	b .L40
.L32:
	ldr r4, addr_k0
	ldr r5, [r4]
	ldr r4, =1
	add r6, r5, r4
	ldr r4, addr_k0
	str r6, [r4]
	ldr r4, =112
	str r4, [fp, #-16]
	b .L42
.L33:
	ldr r4, addr_k0
	ldr r5, [r4]
	mov r0, r5
	add sp, sp, #16
	pop {r4, r5, r6, r9, r10, fp, lr}
	bx lr
.L35:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r9, r10, fp, lr}
	bx lr
.L36:
	b .L35
.L40:
	b .L33
.L42:
	ldr r4, [fp, #-16]
	cmp r4, #0
	cmp r4, #10
	movgt r4, #1
	movlt r4, #0
	bgt .L43
	b .L51
.L43:
	ldr r4, [fp, #-16]
	ldr r5, =88
	sub r6, r4, r5
	str r6, [fp, #-16]
	ldr r4, [fp, #-16]
	cmp r4, #0
	ldr r5, =1000
	cmp r4, r5
	movlt r4, #1
	movgt r4, #0
	blt .L52
	b .L60
.L44:
	ldr r4, [fp, #-16]
	mov r0, r4
	bl putint
	b .L33
.L46:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r9, r10, fp, lr}
	bx lr
.L47:
	b .L46
.L51:
	b .L44
.L52:
	ldr r4, =9
	str r4, [fp, #-12]
	ldr r4, =11
	str r4, [fp, #-8]
	ldr r4, =10
	str r4, [fp, #-12]
	ldr r4, [fp, #-16]
	ldr r5, [fp, #-12]
	sub r6, r4, r5
	str r6, [fp, #-16]
	ldr r4, =11
	str r4, [fp, #-4]
	ldr r4, [fp, #-16]
	ldr r5, [fp, #-4]
	add r6, r4, r5
	ldr r4, [fp, #-8]
	add r5, r6, r4
	str r5, [fp, #-16]
	b .L53
.L53:
	b .L42
.L55:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r9, r10, fp, lr}
	bx lr
.L56:
	b .L55
.L60:
	b .L53

addr_k0:
	.word k
